// <com.woyouqiu.Copyright>
// --------------------------------------------------------------
// <copyright>上海有求网络科技有限公司 2015</copyright>
// <Solution>MyCompany.MyProject</Solution>
// <Project>MyCompany.MyProject.Core</Project>
// <FileName>OrderItem.cs</FileName>
// <CreateTime>2017-04-22 23:03</CreateTime>
// <Author>何苗</Author>
// <Email>hemiao@woyouqiu.com</Email>
// <log date="2017-04-22 23:03" version="00001">创建</log>
// --------------------------------------------------------------
// </com.woyouqiu.Copyright>

using Abp.Domain.Entities.Auditing;

namespace Vecen.BangChuang.BangChuang.Mall {
    public class  OrderItem: FullAuditedEntity {
        /// <summary>
        /// 订单ID
        /// </summary>
        public int OrderId { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public int ProductId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string ProductName { get; set; }

        /// <summary>
        /// 时价
        /// </summary>
        public decimal PriceOfTheTime { get; set; }

        /// <summary>
        /// 购买时店长价格
        /// </summary>
        public decimal AgentPriceOfTheTime { get; set; }


        /// <summary>
        /// 购买时成本价
        /// </summary>
        public decimal CostPriceOfTheTime { get; set; }

        /// <summary>
        /// 购买时用户类型
        /// </summary>
        [UserTypeRange]
        public string UserType { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }
    }
}